package git.soulbgm.pojo;

import javax.persistence.Id;
import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.enums.IdType;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;

/**
 * 账户表
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2020-11-06 17:27:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Account {

    /**
     * ID
     */
    @Id
    @IdBuild(IdType.SEQUENCE)
    private Long id;

    /**
     * 余额
     */
    private Double balance;

    /**
     * 修改时间
     */
    private Date lastUpdateTime;


}